#include "NxRunningLog.h"
#include <iostream>

const char* NJGIS::SERVICE::NjRunningLog::getType()
{
	return this->_type.c_str();
}

const char* NJGIS::SERVICE::NjRunningLog::getState()
{
	return this->_state.c_str();
}

const char* NJGIS::SERVICE::NjRunningLog::getEvent()
{
	return this->_event.c_str();
}

int NJGIS::SERVICE::NjRunningLog::getFlag()
{
	return this->_flag;
}

const char* NJGIS::SERVICE::NjRunningLog::getMessage()
{
	return this->_message.c_str();
}

const char* NJGIS::SERVICE::NjRunningLog::getDateTime()
{
	return this->_datetime.c_str();
}

bool NJGIS::SERVICE::NjRunningLog::getMark()
{
	return this->_mark;
}

void NJGIS::SERVICE::NjRunningLog::setMark( bool mark )
{
	this->_mark = mark;
}

void NJGIS::SERVICE::NjRunningLog::print()
{
	std::cout << this->_type << " - " << this->_state << " - " << this->_event << " - " << this->_message << std::endl ;
}

